package com.xh.one2one.lesson.service;



import com.xh.bussiness.tiku.bean.dto.PaperDto;
import com.xh.one2one.lesson.bean.request.LessonHomeworkRequest;
import com.xh.one2one.lesson.model.LessonHomework;
import com.xh.core.service.IBaseService;
import com.xh.core.bean.XhPage;
import java.util.List;

/**
 * <p>
 * 一对一备课作业 服务类
 * </p>
 *
 * @author TW
 * @since 2021-04-14
 */
public interface ILessonHomeworkService extends IBaseService<LessonHomework> {

    /**
     * 分页查询方法
     * @param page
     * @param bean
     * @return
     */
    public XhPage queryLessonHomeworkPage(XhPage page, LessonHomeworkRequest bean);

    /**
     * 查询方法
     * @param bean
     * @return
     */
    public List queryLessonHomework(LessonHomeworkRequest bean);

    LessonHomework queryLastByLessonId(LessonHomeworkRequest bean);

    PaperDto queryHomeworkQuestion(LessonHomeworkRequest bean);


    void deleteByRequestBean(LessonHomeworkRequest bean);
}
